package com.object;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone phone = new Phone();
        System.out.println(phone.brand);
        System.out.println(phone.price);
        phone.call();
        phone.sendMessage();

        System.out.println("-------");
//        Student student = new Student();
//        System.out.println("name:"+student.name+",age:"+student.age+",cls="+student.cls);
//
//        student.name ="林青霞";
//        student.age = 20;
//
//        Student student1 = student;
//        student1.name = "张曼玉";
//        student1.age = 30;
//        student1.cls = "3年纪2班";
//        System.out.println("name:"+student.name+",age:"+student.age+",cls="+student.cls);
//
//
//
//        System.out.println("name:"+student1.name+",age:"+student1.age+",cls="+student1.cls);

    }
}
